//
//  PaperBaseModel.h
//  ZYOnlineSchool
//
//  Created by 毕武侠 on 2017/3/10.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import "BaseModel.h"
#import "PaperAnswerOptionModel.h"
#import "YYTextLayout+Text.h"

@interface PaperBaseModel : BaseModel

// 确定对应的cell paper 或者head view
@property (nonatomic, strong) NSString *identifier;

@property (nonatomic, strong) NSString  *ques_id;           // 题id
@property (nonatomic, strong) NSString  *report_id;         // 报告id
@property (nonatomic, assign) NSUInteger ques_num;          // 1,当前题号
@property (nonatomic, assign) NSUInteger ques_count;        // 10,总题号

// 题型(0单选 1多选 2材料单选 3材料多选)
//❤️❤️知博院试题类型 -0 单选   1 多选  2  问答
@property (nonatomic, assign) NSUInteger ques_model;

//  ❤️❤️❤️❤️❤️❤️❤️
@property (nonatomic,copy)NSString *chapter_id;//请求试卷的节ID

@property (nonatomic,assign)NSInteger user_answer_right;//用户是否答对



@property (nonatomic, assign) NSUInteger is_favorites;      // 收藏  0:未收藏 1:收藏
@property (nonatomic ,strong) NSString *ques_type;

@property (nonatomic, strong) YYTextLayout   *textLayout;   // 标题layout
@property (nonatomic, strong) NSMutableArray *optionLayouts;// 选项layouts
@property (nonatomic, strong) YYTextLayout   *analyLayout;  // 解析layout
@property (nonatomic, strong) YYTextLayout   *wendaLayout;  // 问答答案-layout


@property (nonatomic, strong) YYTextLayout   *materialLayout;   // 材料layout
@property (nonatomic, strong) YYTextLayout   *answerLayout;     // 材料答案layout

// 功能属性
@property (nonatomic, assign) NSUInteger  index;

//问答题选项内容
@property (nonatomic, copy) NSString *user_content;



@property (nonatomic, assign) BOOL showPaperAnaly;          // (YES)是否显示题目解析（表格）
@property (nonatomic, assign) BOOL showAnswerAnaly;         // (YES)是否显示答案解析
@property (nonatomic, assign) BOOL showKnowledge;           // (YES)是否显示知识点
@property (nonatomic, assign) BOOL showComment;             // (YES)是否显示评论功能

@end
